package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.Prescription;
import com.jsh.erp.datasource.entities.PrescriptionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author hanle
 * @description
 * @date 2025/6/8 11:01
 * @Company 西安图迹信息科技有限公司
 */
public interface PrescriptionMapper {
   long countByExample(PrescriptionExample example);

   int deleteByExample(PrescriptionExample example);

   int deleteByPrimaryKey(Long id);

   int insert(Prescription record);

   int insertSelective(Prescription record);

   int insertSelective2(Prescription record);

   List<Prescription> selectByExample(PrescriptionExample example);

   Prescription selectByPrimaryKey(Long id);

   int updateByExampleSelective(@Param("record") Prescription record, @Param("example") PrescriptionExample example);

   int updateByExample(@Param("record") Prescription record, @Param("example") PrescriptionExample example);

   int updateByPrimaryKeySelective(Prescription record);

   int updateByPrimaryKey(Prescription record);
}
